package com.lesso.lll.sunflower.device.service;


import com.baomidou.mybatisplus.service.IService;
import com.lesso.lll.sunflower.device.entity.AttendanceDevice;

/**
 * 考勤设备服务接口
 */
public interface AttendanceDeviceService extends IService<AttendanceDevice> {
    /**
     * 新增设备
     * @param device 设备信息
     * @return 设备ID
     */
    Long addDevice(AttendanceDevice device);
    
    /**
     * 修改设备信息
     * @param device 设备信息
     * @return 是否成功
     */
    boolean updateDevice(AttendanceDevice device);
    
    /**
     * 删除设备
     * @param deviceId 设备ID
     * @return 是否成功
     */
    boolean deleteDevice(Long deviceId);
}    